package com.gosophia.commons;

/**
 * 定义不同AOP切面的执行顺序值
 * @author Tong
 *
 */
public class AOPAspectOrder {
	
	/**
	 * UI端异常屏障切面
	 */
	public static int UI_EXCEPTION_ASPECT = 100;
	
	/**
	 * Spring Security对业务方法进行拦截的Method Security Intercpetor切面
	 */
	public static int METHOD_SECURITY_INTERCEPTOR_ASPECT = 200;
	
	/**
	 * 资源权限验证切面
	 */
	public static int RESOURCE_PERMISSION_ASPECT = 300;
	
	/**
	 * Web Service方法的异常屏障切面
	 */
	public static int WS_EXCEPTION_ASPECT = 400;
	
	/**
	 * Service层方法的异常屏障切面
	 */
	public static int SERVICE_EXCEPTION_ASPECT = 500;
	
	/**
	 * Spring事务管理切面
	 */
	public static int SPRING_TX_ASPECT = Integer.MAX_VALUE;

}
